<template>
	<view>
		<view class="head">
			<view class="title">使用中</view>
			
			<view class="order-info">
				<view class="duration-money">
					<view class="single">
						<view class="view-t"> <text>40</text> 分钟 </view>
						<view class="z-margin-t-16">使用时长</view>
					</view>
					<view class="single" style="margin-left: 72rpx;">
						<view class="view-t"> <text style="color: #FF7B18;">30</text> 元子 </view>
						<view class="z-margin-t-16">订单金额</view>
					</view>
				</view>
				<u-divider style=""></u-divider>
				<view class="money-title">价格信息</view>
				
				<view class="item-info">
					<view class="item">
						<view class="img"> <image src="../../static/img-6.png" mode="aspectFill"></image> </view>
						<view class="info">
							<view class="item-name">店铺名·24H自助台球(红旗路店)</view>
							<view class="tag">台球桌 6号桌</view>
						</view>
					</view>
					<view class="yhq">
						<view class="yhq-l"> <image src="../../static/index/yhq.png" mode=""></image>优惠券 </view>
						<view class="yhq-r">- <text>￥5</text> </view>
					</view>
				</view>
				
				<view class="hint">12.5元/30分钟，后续收费标准为12.5元/30分钟（25元/小时），不足30分钟按30分钟计算</view>
			</view>
			
			<view class="order-detail z-margin-t-24">
				<view class="detail-title">订单信息</view>
				
				<view class="each-text z-margin-t-8">
					<view class="text-l">订单编号</view>
					<view class="">1611313154165465</view>
				</view>
				<view class="each-text">
					<view class="text-l">开台时间</view>
					<view class="">2024-04-02 15:00:00</view>
				</view>
				<view class="each-text">
					<view class="text-l">支付方式</view>
					<view class="">余额支付</view>
				</view>
			</view>
		</view>
		
		<view style="height: 120rpx;width: 1rpx;"></view>
		<view class="btn-box">
			<view class="PlaceAnOrder-btn" @click="">关台</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page {
		background: #F7F8FA;
	}
	.head {
		width: 750rpx;
		height: 416rpx;
		background: linear-gradient(to bottom, #E4F6F1,#E5F4F5, #F7F8FA);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		.title {
			font-weight: 800;
			font-size: 56rpx;
			color: #1C274C;
			padding: 40rpx 0 0 32rpx;
		}
		.order-info {
			width: 622rpx;
			// height: 611rpx;
			background: #FFFFFF;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			margin: auto;
			margin-top: 24rpx;
			padding: 32rpx;
			.duration-money {
				display: flex;
				.single {
					view {
						font-weight: 500;
						font-size: 22rpx;
						color: #A4A9B7;
					}
					.view-t {
						
						text {
							font-weight: bold;
							font-size: 44rpx;
							color: #1C274C;
							padding-right: 8rpx;
						}
					}
				}
			}
			.money-title {
				font-weight: bold;
				font-size: 30rpx;
				color: #1C274C;
			}
			
			.item-info {
				width: 574rpx;
				padding: 24rpx 24rpx 32rpx 24rpx;
				background: #F7F8FA;
				border-radius: 24rpx 24rpx 24rpx 24rpx;
				margin-top: 16rpx;
				.item {
					display: flex;
					.img {
						width: 116rpx;
						height: 116rpx;
						border-radius: 24rpx 24rpx 24rpx 24rpx;
						margin-right: 24rpx;
						image {
							width: 116rpx;
							height: 116rpx;
							border-radius: 24rpx 24rpx 24rpx 24rpx;
						}
					}
					.info {
						.item-name {
							font-weight: bold;
							font-size: 28rpx;
							color: #1C274C;
						}
						.tag {
							display: inline-block;
							height: 48rpx;
							background: #FFFFFF;
							border-radius: 6rpx 6rpx 6rpx 6rpx;
							line-height: 48rpx;
							font-weight: 500;
							font-size: 24rpx;
							color: #6B738B;
							padding: 0 16rpx;
							margin-top: 16rpx;
						}
					}
				}
				.yhq {
					display: flex;
					justify-content: space-between;
					align-items: center;
					margin-top: 32rpx;
					.yhq-l {
						image {
							width: 30rpx;
							height: 26rpx;
							margin-right: 16rpx;
							vertical-align: middle;
						}
						font-weight: 500;
						font-size: 26rpx;
						color: #1C274C;
					}
					.yhq-r {
						text {
							color: #FF7B18;
						}
					}
				}
			}
			
			.hint {
				font-weight: 500;
				font-size: 22rpx;
				color: #6B738B;
				margin-top: 24rpx;
			}
		}
		
		.order-detail {
			width: 622rpx;
			background: #FFFFFF;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			padding: 32rpx;
			margin: auto;
			.detail-title {
				font-weight: bold;
				font-size: 30rpx;
				color: #1C274C;
			}
			
			.each-text {
				display: flex;
				justify-content: space-between;
				font-weight: 500;
				font-size: 24rpx;
				color: #1C274C;
				.text-l {
					font-weight: 500;
					font-size: 24rpx;
					color: #A4A9B7;
				}
				margin-top: 24rpx;
			}
		}
	}
	
	.btn-box {
		width: 100%;
		position: fixed;
		bottom: 40rpx;
		z-index: 9;
		.PlaceAnOrder-btn {
			width: 686rpx;
			height: 106rpx;
			margin: auto;
			background: #4BC264;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
			font-weight: 800;
			font-size: 34rpx;
			color: #FFFFFF;
			line-height: 106rpx;
			text-align: center;
		}
	}
</style>
